package com.jt.www.model.zq;

import cn.afterturn.easypoi.excel.annotation.Excel;

import java.text.SimpleDateFormat;
import java.util.Date;

public class ZqVO {
    /**
     * 产品编码
     */
    @Excel(name = "产品名称", orderNum = "0", width = 21)
    private String productName;
    /**
     * 投保人姓名
     */
    @Excel(name = "投保人姓名", orderNum = "1", width = 10)
    private String name;
    /**
     * 投保人身份证号
     */
    @Excel(name = "投保人身份证号", orderNum = "2", width = 21)
    private String idNo;
    /**
     * 投保人手机号
     */
    @Excel(name = "投保人手机号", orderNum = "3", width = 13)
    private String phoneNum;
    /**
     * 签署时间
     */
    @Excel(name = "签署时间", orderNum = "4", width = 20)
    private String signTime;
    /**
     * 签署地址
     */
    @Excel(name = "协议下载地址", orderNum = "5", width = 95)
    private String url;

    private String no;

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getSignTime() {
        return signTime;
    }

    public void setSignTime(Date signTime) {
        if (signTime != null) {
            SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
            this.signTime = sdf.format(signTime);
        } else {
            this.signTime = "";
        }
    }

    public void setSignTime(String signTime) {
        this.signTime = signTime;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }
}
